#include "hunBase.h"
#include <stdlib.h>
#include <string.h>
// ---- Private functions ----

// ---- Public functions ----
// ----------------------------------------------------------------------------
void *hunMalloc(hunSize size)
{
    return (void *)malloc(size);
}
// ----------------------------------------------------------------------------
void *hunCalloc(hunSize size)
{
    void *ptr = (void *)malloc(size);
    memset( ptr, 0, size );
    return ptr;
}
// ----------------------------------------------------------------------------
void hunFree(void *ptr)
{
    if(!ptr)
        return;
    free(ptr);
    ptr = NULL;
}
// ----------------------------------------------------------------------------
